<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>读者论坛 - 跟着LLM学Python</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
            background: #f5f5f5;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
        }

        .forum-controls {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .new-post-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
        }

        .post-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .post-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #ddd;
        }

        .post-stats {
            display: flex;
            gap: 15px;
            color: #666;
        }

        .back-btn {
            display: inline-block;
            margin-bottom: 20px;
            color: #3498db;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div class="container">
        <a href="index.html" class="back-btn">← 返回主页</a>
        <div class="header">
            <h1>读者论坛</h1>
            <p>分享你的学习经验和问题</p>
        </div>
        <div class="forum-controls">
            <button class="new-post-btn">发布新帖子</button>
        </div>
        <div class="forum-posts">
            <div class="post-card">
                <div class="post-header">
                    <div class="user-info">
                        <div class="user-avatar"></div>
                        <div>
                            <h4>Python初学者</h4>
                            <small>2小时前</small>
                        </div>
                    </div>
                    <div class="post-stats">
                        <span>👍 15</span>
                        <span>💬 5</span>
                    </div>
                </div>
                <h3>如何更好地使用LLM学习Python？</h3>
                <p>我是一个Python初学者，想知道大家是如何结合LLM来提升学习效率的...</p>
            </div>
            <!-- 添加更多帖子 -->
        </div>
    </div>
</body>
</html>